package ThreadTest;

public class Dome15 {
    public static void main(String[] args) throws InterruptedException{
        long begin = System.currentTimeMillis();
        System.out.println("beg: "+begin);
        Thread.sleep(1000);
        long end = System.currentTimeMillis();
        System.out.println("end: "+end);
        System.out.println(end-begin);
    }
}
